package com.gof.example.factory;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/4/30 22:07.
 * haiming.fei@tongdun.cn
 */
public abstract class ImageFactory {

    public void readImg() {
        Image image = createImage();
        image.readImage();
    }

    abstract Image createImage();
}
